extern crate gtk;
extern crate irc;

use std::char;
use std::io;
use std::default::Default;
use irc::client::prelude::*;
use gtk::prelude::*;
use gtk::{ButtonsType, DialogFlags, MessageType, MessageDialog, Window};

fn main() {
    gtk::init().unwrap()
    let window = Window::new(WindowType::Toplevel);
    window.Button::new_with_label()
    let server = IrcServer::new("config.toml").unwrap();
    server.identify().unwrap();
    server.for_each_incoming(|message| {

    }).unwrap()
}
